package com.isp.org.server.interfaces.model.role.vo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/3/7 14:31
 */
@Data
@ApiModel("角色用户列表响应")
public class RoleUserResponse {

    @ApiModelProperty("用户ID")
    @JsonProperty("user_id")
    private Long userId;
    @ApiModelProperty("phone")
    @JsonProperty("phone")
    private String phone;
    @ApiModelProperty("用户名")
    @JsonProperty("username")
    private String username;
    @ApiModelProperty("创建人")
    @JsonProperty("creator")
    private String creator;
    @ApiModelProperty("创建时间")
    @JsonProperty("created_at")
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    private Date createdAt;

}
